import React from 'react';
import { Button } from 'antd';
/* eslint-disable */
const SearchButton = ({ onSearch, text }) =>
  <div className="web-page-header-search-item">
    <Button onClick={onSearch} icon="search">{text || '搜索'}</Button>
  </div>
export default SearchButton;
